﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Com.ZX
{
	/// <summary>
	/// UI动画接口
	/// </summary>
	interface IUIAnimation
	{
		/// <summary>
		/// 播放动画
		/// </summary>
		/// <param name="onComplete"></param>
		void EnterAnimation(Action onEnterCb);

		/// <summary>
		/// 结束动画
		/// </summary>
		/// <param name="onQuit"></param>
		void QuitAnimation(Action onQuitCB);

		/// <summary>
		/// 重置动画
		/// </summary>
		void ResetAnimation();
	}
}
